//
//  ZYPopLayerDispose.h
//  DesignMode
//
//  Created by wangzhipan on 2024/11/15.
//

#import <Foundation/Foundation.h>

NS_ASSUME_NONNULL_BEGIN

@protocol IPopLayerRequest;
@interface ZYPopLayerDispose : NSObject
- (instancetype)initWithRequest:(id<IPopLayerRequest>)request;
- (void)dispatch;

/// 调用cancel方法，不管弹窗是否在显示、或者在队列中，都会回调closeBlock
- (void)cancel;
@end

NS_ASSUME_NONNULL_END
